/**   
 * @Title: ShiyixuanwuActGroup.java 
 * @Package com.esun.rabbit2.viewer.mainact.lotteryhallact.shiyixuanwu 
 * @Description: 十一选五玩法介绍
 * @Author: Miko baoz@500wan.com   
 * @Date: 2011-6-25 下午04:03:13  
 * Copyright (C) 2011 Shenzhen E-sun Sky Net Technology Co.,ltd.
 */
package com.esun.rabbit2.viewer.mainact.lotteryhallact.shiyixuanwu;

import com.esun.network.ConnectionChangeReceiver;
import com.esun.ui.R;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;

import android.webkit.WebViewClient;

/**
 * @ClassName: ShiyixuanwuIntroduce
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author Miko baoz@500wan.com
 * @date 2011-7-3 下午05:44:34
 * 
 */
public class ShiyixuanwuIntroduce extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.shiyixuanwu_introduce);

		WebView web = (WebView) this.findViewById(R.id.shiyixuanwu_introduce_web);
		web.setWebViewClient(new WebViewClient());
		web.loadUrl(com.esun.config.Config.SHIYIXUANWU_INTRODUCE_WEB_ADD);
	}

	@Override
	protected void onPause() {
		// TODO Auto-generated method stub
		super.onPause();
		 this.unregisterReceiver(ConnectionChangeReceiver.getConnectionChangeReceiver());
	}

	@Override
	protected void onResume() {
		// TODO Auto-generated method stub
		super.onResume();
		this.registerReceiver(ConnectionChangeReceiver.getConnectionChangeReceiver(), ConnectionChangeReceiver.getIntentFilter());
	}

}
